package com.hypo.business.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author hypo
 * @version 1.0
 * @since 2025/8/13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_dict_data")
public class SysDictData {
    //字典编码
    @TableId(value = "dict_code",type = IdType.AUTO)
    private Long dictCode;
    // 字典排序
    @TableField(value = "dict_sort")
    private Integer dictCort;
    //字典标签
    @TableField(value = "dict_label")
    private String dictLabel;
    //字典键值
    @TableField(value = "dict_value")
    private String dictValue;
    //字典类型
    @TableField(value = "dict_type")
    private String dictType;
    //样式属性（其他样式扩展）
    @TableField(value = "css_class")
    private String cssClass;
    //表格回显样式
    @TableField(value = "list_class")
    private String listClass;
    //是否默认（Y是 N否）
    @TableField(value = "is_default")
    private String isDefault;
    //状态（0正常 1停用）
    private Integer status;
    //创建者
    @TableField(value = "create_by")
    private String createBy;
    //创建时间
    @TableField(value = "create_time")
    private LocalDateTime createTime;
    //更新者
    @TableField(value = "update_by")
    private String updateBy;
    //更新时间
    @TableField(value = "update_time")
    private LocalDateTime updateTime;
    //备注
    private String remark;
}
